package com.hiof.moraa.server.service.model;

/**
 * Map point contains: Geopoints: lat, lng, alt Distance: distance (meters)
 * between this point and start point of the route
 *
 * @author Bergy
 */
public class MapPoint {

    private GeoPoint geoPoint;
    private double distance;

    public MapPoint(GeoPoint geoPoint, double distance) {
        this.geoPoint = geoPoint;
        this.distance = distance;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public GeoPoint getGeoPoint() {
        return geoPoint;
    }

    public void setGeoPoint(GeoPoint geoPoint) {
        this.geoPoint = geoPoint;
    }
}
